package qj.tool.console;

import qj.tool.console.exception.InvalidCommandParameterException;

public class DefaultCommandExit implements IConsoleCommandExit {

	private String cmd;
	public DefaultCommandExit(String cmd) { this.cmd = cmd;}
	public DefaultCommandExit() { this("exit");}
	
	public String commandKey() 		{return cmd;}

	public String getCommandHelp() {
		return "Exit the console";
	}

	public String process(String parameters) throws InvalidCommandParameterException {
		return null;
	}

}
